<!DOCTYPE html>
<html>
<head>
    <title>Grid</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link href="../bootstrap-3.0.0/dist/css/bootstrap.css" rel="stylesheet" media="screen">
    <style>
        .row > div {
            border: 1px solid #C7BFD3;
            background: #E5E1EA;
            margin: 6px 0;
            padding: 4px 15px;
        }
    </style>
</head>
<body>
<div class="container">
    <h2>从堆叠到水平排列</h2>

    <div class="row">
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
    </div>
    <div class="row">
        <div class="col-md-8">.col-md-8</div>
        <div class="col-md-4">.col-md-4</div>
    </div>
    <div class="row">
        <div class="col-md-4">.col-md-4</div>
        <div class="col-md-4">.col-md-4</div>
        <div class="col-md-4">.col-md-4</div>
    </div>
    <div class="row">
        <div class="col-md-6">.col-md-6</div>
        <div class="col-md-6">.col-md-6</div>
    </div>
    <hr>

    <h2>列偏移</h2>

    <div class="row">
        <div class="col-md-4">.col-md-4</div>
        <div class="col-md-4 col-md-offset-4">.col-md-4 .col-md-offset-4</div>
    </div>
    <div class="row">
        <div class="col-md-3 col-md-offset-3">.col-md-3 .col-md-offset-3</div>
        <div class="col-md-3 col-md-offset-3">.col-md-3 .col-md-offset-3</div>
    </div>
    <div class="row">
        <div class="col-md-6 col-md-offset-3">.col-md-6 .col-md-offset-3</div>
    </div>

    <h2>嵌套列</h2>

    <div class="row">
        <div class="col-md-9">
            Level 1: .col-md-9
            <div class="row">
                <div class="col-md-6">Level 2: .col-md-6</div>
                <div class="col-md-6">Level 2: .col-md-6</div>
            </div>
        </div>
    </div>

    <h2>列排序</h2>

    <div class="row">
        <div class="col-md-9 col-md-push-3">.col-md-9 .col-md-push-3</div>
        <div class="col-md-3 col-md-pull-9">col-md-3 .col-md-pull-9</div>
    </div>
</div>
<pre>









</pre>
<script src="jquery.js"></script>
<script src="../bootstrap-3.0.0/dist/js/bootstrap.js"></script>
</body>
</html>